﻿using EnterpriseLibraryExtensions.Events.Aggregation;

namespace EventHandling
{
    public class SampleEventTypeComparer : CompareEvent<SampleEventType>
    {
        protected override bool IsMatch(SampleEventType left, SampleEventType right)
        {
            return string.Compare(left.EventValue, right.EventValue, true) == 0;
        }
    }
}
